#ifndef __MATH_CONSTANTS_H__
#define __MATH_CONSTANTS_H__

#include "math/math_def.h"
#define _USE_MATH_DEFINES
#include "math.h"

NS_MATH_BEGIN


class MathConstant
{
public:
	static const float64 pi;		// PI
	static const float64 pi_2;		// PI/2
	static const float64 pi_4;		// PI/4
	static const float64 e;			// exp(1.0)
	static const float64 ln10;		// ln(10)
	static const float64 ln2;		// ln(2)

public:
	// complex
	static const complex64 i;	// i = complex(0, 1)
	static const complex64 j;	// j = complex(0,-1)
};

typedef MathConstant mc;

NS_MATH_END

#endif
